﻿#ifndef _DL_LUA_H_
#define _DL_LUA_H_

#include <lua.hpp>
#include <string.h>
#include <stdio.h>

#ifdef __cplusplus

extern "C" {
#endif

	double getfield_number(lua_State* L, const char* key);
	bool getfield_string(lua_State* L, const char* key, char* variable);
	bool getfield_table(lua_State* L, const char* key);

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif // _DL_LUA_H_
